package com.cxy.service.impl;

import com.cxy.dao.UserDao;
import com.cxy.pojo.User;
import com.cxy.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 蔡心勇
 * @create 2022/3/14 - 9:27
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public int addUser(User u) {

        return userDao.addUser(u);
    }
}
